/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package AIModel;

/**
 *
 * @author micheal
 */

public class Priority {
	
	public Priority(){
		
	}
	
	public int getPriority(String state){
		
		if(state.equals("a1")){
			return 20;
		}
		if(state.equals("a2")){
			return 400;
		}
		if(state.equals("a3")){
			return 6000;
		}
		if(state.equals("a4")){
			return 50000;
		}
		if(state.equals("a5")){
			return 10000000;
		}
		if(state.equals("d1")){
			return 4;
		}
		if(state.equals("d2")){
			return 90;
		}
		if(state.equals("d3")){
			return 800;
		}
		if(state.equals("d4")){
			return 10000;
		}
		
		return 0;	
		
	}

}
